<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018\10\9 0009
 * Time: 13:54
 */

namespace app\admin\controller;


use think\Url;

class Index extends Base
{
    public function index(){
        if(isset($this->userInfo['roleAlias'] ) && $this->userInfo['roleAlias'] == 'engineeringDepartmentSupervision'){
            $this->success('登陆成功',Url::build('order/orderReply'));
        }
        return $this->fetch();
    }

    public function main(){

    }
}